/**
 * @project name:crm
 */
package com.yunbo.crm.service.impl;

import com.yunbo.crm.base.BaseServiceImpl;
import com.yunbo.crm.dao.ModuleMapper;
import com.yunbo.crm.model.TreeDto;
import com.yunbo.crm.pojo.Module;
import com.yunbo.crm.service.ModuleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author : yun&bo
 * @CreateDate : ==>2021/1/26 22:40
 * @ClassName : ==>
 * @Description : ==>
 * @Version
 */
@Service
public class ModuleServiceImpl extends BaseServiceImpl<Module, Integer> implements ModuleService {
    @Resource
    private ModuleMapper moduleMapper;
    @Override
    public List<TreeDto> queryAllModules() {
        return moduleMapper.queryAllModules();
    }
}
